home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / share / doc / protobuf-compiler / README.txt < prev   
Text File  |  2008-12-05  |  3KB  |  92 lines

  1. Protocol Buffers - Google's data interchange format
  2. Copyright 2008 Google Inc.
  3. http://code.google.com/apis/protocolbuffers/
  4.  
  5. C++ Installation - Unix
  6. =======================
  7.  
  8. To build and install the C++ Protocol Buffer runtime and the Protocol
  9. Buffer compiler (protoc) execute the following:
  10.  
  11.   $ ./configure
  12.   $ make
  13.   $ make check
  14.   $ make install
  15.  
  16. If "make check" fails, you can still install, but it is likely that
  17. some features of this library will not work correctly on your system.
  18. Proceed at your own risk.
  19.  
  20. "make install" may require superuser privileges.
  21.  
  22. For advanced usage information on configure and make, see INSTALL.txt.
  23.  
  24. ** Hint on install location **
  25.  
  26.   By default, the package will be installed to /usr/local.  However,
  27.   on many platforms, /usr/local/lib is not part of LD_LIBRARY_PATH.
  28.   You can add it, but it may be easier to just install to /usr
  29.   instead.  To do this, invoke configure as follows:
  30.  
  31.     ./configure --prefix=/usr
  32.  
  33.   If you already built the package with a different prefix, make sure
  34.   to run "make clean" before building again.
  35.  
  36. ** Note for Solaris users **
  37.  
  38.   Solaris 10 x86 has a bug that will make linking fail, complaining
  39.   about libstdc++.la being invalid.  We have included a work-around
  40.   in this package.  To use the work-around, run configure as follows:
  41.  
  42.     ./configure LDFLAGS=-L$PWD/src/solaris
  43.  
  44.   See src/solaris/libstdc++.la for more info on this bug.
  45.  
  46. ** Note for HP C++ Tru64 users **
  47.  
  48.   To compile invoke configure as follows:
  49.  
  50.     ./configure CXXFLAGS="-O -std ansi -ieee -D__USE_STD_IOSTREAM"
  51.  
  52.   Also, you will need to use gmake instead of make.
  53.  
  54. C++ Installation - Windows
  55. ==========================
  56.  
  57. If you are using Micosoft Visual C++, see vsprojects/readme.txt.
  58.  
  59. If you are using Cygwin or MinGW, follow the Unix installation
  60. instructions, above.
  61.  
  62. Binary Compatibility Warning
  63. ============================
  64.  
  65. Due to the nature of C++, it is unlikely that any two versions of the
  66. Protocol Buffers C++ runtime libraries will have compatible ABIs.
  67. That is, if you linked an executable against an older version of
  68. libprotobuf, it is unlikely to work with a newer version without
  69. re-compiling.  This problem, when it occurs, will normally be detected
  70. immediately on startup of your app.  Still, you may want to consider
  71. using static linkage.  You can configure this package to install
  72. static libraries only using:
  73.  
  74.   ./configure --disable-shared
  75.  
  76. Java and Python Installation
  77. ============================
  78.  
  79. The Java and Python runtime libraries for Protocol Buffers are located
  80. in the java and python directories.  See the README file in each
  81. directory for more information on how to compile and install them.
  82. Note that both of them require you to first install the Protocol
  83. Buffer compiler (protoc), which is part of the C++ package.
  84.  
  85. Usage
  86. =====
  87.  
  88. The complete documentation for Protocol Buffers is available via the
  89. web at:
  90.  
  91.   http://code.google.com/apis/protocolbuffers/
  92.